package com.dawan.sbjy;

import com.dawan.sbjy.Rabbit.RabbitProducer;
import com.dawan.sbjy.common.Book1;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.Bean;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
//@EnableTransactionManagement
@MapperScan("com.dawan.sbjy.dao")
public class SbjyApplication {
	public static void main(String[] args) {
		SpringApplication.run(SbjyApplication.class, args
		);
	}

}
